<?php
import('libs.bdd.AbstractEntity');
/**
 * Description of UserEntity
 *
 * @author Gaetan Collaud
 */
class UserEntity extends AbstractEntity {
	public function __construct(){
		self::addField('pk_user', self::TYPE_INT);
		self::addField('user_name', self::TYPE_STRING);
		self::addField('pass', self::TYPE_STRING);
		self::addField('pk_group', self::TYPE_INT);
		self::addAutoPk('pk_user');

		parent::__construct("t_users");
	}
}
?>
